export function verifyPhone(phone) {
  const reg = /^[1][3,4,5,7,8,9][0-9]{9}$/
  return reg.test(phone)
}

export function verifyNumber(number) {
  return typeof number === 'number' && !isNaN(number)
}

// 整数包含小数点
export function isIntegerOrDecimal(value) {
  const reg = /^[+-]?((\d*(\.\d{1,})$)|(\d+$))/
  return reg.test(value)
}
